package com.atguigu.mycloud.mapper;

import com.atguigu.mycloud.entities.Account;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;


@org.apache.ibatis.annotations.Mapper
public interface AccountMapper extends Mapper<Account> {

    void decrease(@Param("userId") Long userId, @Param("money") Long money);
}